﻿using System;
using Me.Amon.Da.Db;

namespace Com.Winshine.WMS.Util
{
    public class LogsUtil
    {
        public static void Info(string title, string context)
        {
            var dba = new RDBEngine();
            dba.AddTable("wms_log_info");
            dba.AddParam("time", DateTime.Now.ToString("yyyyMMddHHmmssff"));
            dba.AddParam("", "");
            dba.AddParam("name", title);
            dba.AddParam("text", context);
            dba.ExecuteInsert();
        }
    }
}